<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .flex{
            display: -webkit-flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content:space-around;
            align-items: flex-end;
        }
        .box{
            border: 1px solid #000000;
            width: 500px;
        }
        .box div{
            flex-grow:0;
            flex-shrink:1;
            /*width: 10px;*/
            padding: 20px;
            border: 1px solid #f00;
        }
    </style>
</head>
<body>
    <div class="flex box">
       <div style="height: 100px">1</div>
       <div style="height: 12px">222</div>
       <div style="height: 15px">3</div>
       <div style="height: 111px">4</div>
       <div style="height: 20px">5</div>
       <div style="height: 50px;align-self:flex-start;">6</div>
       <div>7</div>
       <div>8</div>
       <div>9</div>
       <div>10</div>
       <div>11</div>
       <div>12</div>
    </div>
</body>
</html>